<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="index.css">
    <title>一起来看流星雨</title>
</head>
<body>
    <div class="night">
        <!-- <audio src="./video/Capo Productions - Inspire (激发)(1).mp3" autoplay="true" loop="loop"></audio> -->
        <audio id="backgroundMusic" src="./video/Capo Productions - Inspire (激发)(1).mp3" loop></audio>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
        <div class="shooting-star"></div>
    </div>
</body>
<script>
    window.addEventListener('DOMContentLoaded', function() {
        const backgroundMusic = document.getElementById('backgroundMusic');
        backgroundMusic.play();
    });
</script>
</html>